@layout("/common/_container.html",{js:["/assets/basic/basicCarrierLine/basicCarrierLine_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="basicCarrierLineForm" lay-filter="basicCarrierLineForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">承运商<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="carrierId" name="carrierId" lay-filter="carrierId" lay-verify="required" required lay-search/>
                        <option value="">选择承运商</option>
                        @for(item in carrierLists!){
                        <option value="${item.id}">${item.carrierName}</option>
                        @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">线路<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="lineId" name="lineId" lay-filter="lineId" lay-verify="required" required lay-search/>
                        <option value="">选择线路</option>
                        @for(item in lineLists!){
                        <option value="${item.id}">${item.lineName}</option>
                        @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">开始日期<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" id="startTime" name="startTime" placeholder="请选择日期" lay-verify="required" required>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">结束日期<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" id="stopTime" name="stopTime" placeholder="请选择日期" lay-verify="required" required>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <input id="note" name="note" placeholder="请输入备注" type="text" class="layui-input"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}